package com.framework.buss.ai.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.framework.buss.ai.model.DiseaseType;
import com.framework.buss.ai.params.DiseaseTypeParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zhangzhg
 */
@Mapper
public interface DiseaseTypeMapper extends BaseMapper<DiseaseType> {
    /**
     * 递归查询
     * @param param 页面参数
     * @return 树形结构的三级类型
     */
    List<DiseaseType> selectTree(@Param("param") DiseaseTypeParam param);
}
